home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Dec 89 / 0203->32K Seg ⁄Jump Table-Dec89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.2 KB  |  26 lines  |  [TEXT/GEOL]

  1. Item    4569989                         14-Dec-89        16:34
  2.  
  3. From:   D1382                           Pillar, Chris Ovard,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    >32K Seg /Jump Table offsets
  8.  
  9.  
  10. This a question about linking C++ code segments larger than 32K.
  11. In an effort to conserve jump table space we have identified a cluster of C++
  12. code that could take as much as 90K, but if it used intrasegment jumps it woul
  13. only cost our MacApp program a handful of jump table entries (many of the
  14. objects in this segment call among themselves, are not exposed to the outside,
  15. and will not have virtual method tables).  Even though we are not fond of
  16. 90K segments it is the case that jump table space is at a super premium.  We
  17. have been trying to use the -ss option of the linker to help us around this
  18. problem.  It doesn't complain about >32K code segments, but it does complain
  19. about jump table offsets >32K for this particular code segment.  What am I
  20. missing?  I've tried compiling with the -b2 option to help with intrasegment
  21. jumps. Obviously our virtuals will need jump offsets >32K.  Does the jump table
  22. offset only use 15 bits?
  23.  
  24.    Randy Cox:  Pillar Corporation
  25.  
  26.